# -*- coding = utf-8 -*-
# @Time    : 2025/5/25 下午2:39
# @Author  : yqk
# @File    : qimai.py
# @Software: PyCharm
import requests


headers = {
    "Accept": "application/json, text/plain, */*",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Connection": "keep-alive",
    "Origin": "https://www.qimai.cn",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "same-site",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
    "sec-ch-ua": "\"Chromium\";v=\"136\", \"Google Chrome\";v=\"136\", \"Not.A/Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\""
}
cookies = {
    "synct": "1748155238.120",
    "syncd": "-2155",
    "qm_check": "A1sdRUIQChtxen8pI0dAMRcOUFseEHBeQF0JTjVBWCwycRd1QlhAXFEGFUdASAFKBQcCcQ5xDBFFIg4aHRoOBnMDARlGR2dQOVdICAolAGgCHBl0B3xUV05KVFsZXVJRWxsKFghJVktYVElWBRVP",
    "PHPSESSID": "3upvjpfsrjqq8qtg28n4r9dkal",
    "gr_user_id": "2790f2ca-952c-4d7a-a060-e1e9ae9949d8",
    "ada35577182650f1_gr_session_id": "8d361c0c-c25a-4ffa-932f-7dd93d1f7434",
    "ada35577182650f1_gr_session_id_sent_vst": "8d361c0c-c25a-4ffa-932f-7dd93d1f7434",
    "USERINFO": "Pghm676jChUREVB0oxA853i0IgDCBP76VMSws6sZ%2Fr0uxb4BXTg3qJpDl%2BsRMx0gvHbDCy5wOConeEXcCmaZI1h6WfCwgYCj6tqNfrIvzPfAotKvkMiGE%2FcFOhtiiacJEveugtqIixbQb9J%2FYCXlrQylGZOSMNR1",
    "AUTHKEY": "lUTz%2BE39nllvUXS9sjPzPzudNHSMXQuyMJKGuJzit93YnfQeiFJC%2FaTyy9m2z%2FVzU%2BgutDSA%2BTvZbTfTgaw%2BTA5EAeq4tKKm%2BjxenCvdef8g09G6rVGh8Q%3D%3D",
    "ada35577182650f1_gr_last_sent_sid_with_cs1": "8d361c0c-c25a-4ffa-932f-7dd93d1f7434",
    "ada35577182650f1_gr_last_sent_cs1": "qm24451180068",
    "ada35577182650f1_gr_cs1": "qm24451180068",
    "aso_ucenter": "1984OJ%2BABqL5m8O24iL2ku8P1TrYfJis8IlYwnkfeN6Ixc8OgKdLxYSLPpXRYAOMmdQ"
}
url = "https://api.qimai.cn/rank/release"
params = {
    # "analysis": "dkZJFQkWElVHVFsGBRJcdkZeUVFLSEgHCAFXUyEaBQ==",
    "sdate": "",
    "edate": ""
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.json())